package cn.chencaiju.day04;

public class Employee {
	private String name;
	private int age;
	private double salary;
	
	public Employee() {
	}
	public Employee(String name) {
		this.name=name;
	}
	public Employee(String name,double salary) {
		this(name);
		this.salary=salary;
	}
	public Employee(String name, int age,double salary) {
		super();
		this.name = name;
		this.age = age;
		this.salary=salary;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public int getAge() {
		return age;
	}
	public void setAge(int age) {
		this.age = age;
	}
	public void setSalaey(double salary) {
		this.salary=salary;
	}
	public double getSalary() {
		return salary;
	}
	
	

}
